package com.oren.system.pojo;

import java.util.List;

/**
 * @Author: oren
 * @Description: 菜单实体类
 * @Date: Create on 2017/11/8 0008 13:49
 */
public class Menu {

	/**
	 * 主键id自增
	 */
	private int id;

	/**
	 * 菜单名称
	 */
	private String menuName;

	/**
	 * 父id
	 */
	private String parentId;

	/**
	 * 排序序号
	 */
	private String sort;

	/**
	 * 图标路径
	 */
	private String iconPath;

	/**
	 * 菜单访问的url
	 */
	private String url;

	private List<Menu> listChild;

	/**
	 * 是否启用 1代表启用  0代表未启用
	 */
	private int relative;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getIconPath() {
		return iconPath;
	}

	public void setIconPath(String iconPath) {
		this.iconPath = iconPath;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getRelative() {
		return relative;
	}

	public void setRelative(int relative) {
		this.relative = relative;
	}

	public List<Menu> getListChild() {
		return listChild;
	}

	public void setListChild(List<Menu> listChild) {
		this.listChild = listChild;
	}
}
